package xyz.xmh.pattern.behavioral.nullobjectpattern;

/**
 * @author Administrator
 * <p>
 * 实现了顾客抽象类的空顾客类
 */
public class NullCustomer extends AbstractCustomer {


    @Override
    public boolean isEmpty() {
        return true;
    }

    @Override
    public String getName() {
        return "Not Available in Customer Database";
    }
}
